//datamode
function setDataMode(mode){
	if(!mode) return ;
	var row = $fTr(document.all("enum.d"));
	row.style.display=(mode=="2" || mode=="0")?"block":"none";
	row = $fTr(document.all("enum.de"));
	row.style.display=(mode=="1"?"none":"block");
}
function getDataMode(){
	var objs=	document.all("enum.dm");
	for(var i=0;i<objs.length;i++){
		if(objs[i].checked) return objs[i].value;
	}
	return null;
}
setDataMode(getDataMode());
